<?php
namespace app\index\controller;

use think\Controller;
use app\index\model\MeModel;
use app\index\model\NewsModel;
use think\Model;

class Index extends Controller

{
    public function index()
    {
        $me = new MeModel();
        $Me=($me->getMe());
        $data['Me']  =  $Me;
        
        $news = new NewsModel();
        $News=($news->getNews());
        $data['News']  =  $News;
        return $this->fetch('/index/index',$data);

    }
   
}
